﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArtheaEngine.Model
{
    public partial class Note
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Note"/> class.
        /// </summary>
        /// <param name="to">To.</param>
        /// <param name="from">From.</param>
        /// <param name="subject">The subject.</param>
        /// <param name="text">The text.</param>
        public Note(string to, string from, string subject, string text)
        {
            To = to;
            From = from;
            Subject = subject;
            Text = text;
            When = DateTime.Now;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Note"/> class.
        /// </summary>
        public Note()
        {
            Text = string.Empty;
            When = DateTime.Now;
        }
    }
}
